package com.project.hqshorttaxi.entity;

import lombok.Data;

import javax.persistence.Column;
import javax.persistence.Id;
import javax.persistence.Table;
import java.io.Serializable;
import java.util.Date;

@Data
@Table(name = "B_WhiteList")
public class WhiteList implements Serializable {
    private static final long serialVersionUID = 1L;

    /**
     * ID
     */
    @Id
    @Column(name = "ID")
    private Integer id;

    /**
     * 车牌号
     */
    @Column(name = "PlateNumber")
    private String plateNumber;

    /**
     * 优先次数
     */
    @Column(name = "DiscountNum")
    private Integer discountNum;

    /**
     * 开始时间
     */
    @Column(name = "EffectiveDate")
    private Date effectiveDate;

    /**
     * 过期时间
     */
    @Column(name = "ExpireTime")
    private Date expireTime;

    /**
     * 白名单原因（1-订单原因 2-摄像头未拍到离场记录3-其他）
     */
    @Column(name = "ReasonType")
    private Integer reasonType;

    /**
     * 是否已兑现（0-未兑现 1-已兑现 2-已过期）
     */
    @Column(name = "Exchange")
    private Integer exchange;

    /**
     * 兑现时间
     */
    @Column(name = "ExchangeDate")
    private Date exchangeDate;

    /**
     * 操作人
     */
    @Column(name = "CreateUser")
    private String createUser;

    /**
     * 创建时间
     */
    @Column(name = "CreateTime")
    private Date createTime;

    /**
     * 修改人
     */
    @Column(name = "UpdateUser")
    private String updateUser;

    /**
     * 更新时间
     */
    @Column(name = "UpdateTime")
    private Date updateTime;

    /**
     * 删除标识
     */
    @Column(name = "DeleteFlag")
    private Integer deleteFlag;
}
